export default [
    {
        /** 优惠券列表 */
        name: 'couponListServ',
        url: '/coupon/list',
        method: 'get'
    },
    {
        /** 新增优惠券 */
        name: 'couponServAdd',
        url: '/coupon/store',
        method: 'post',
        pem: true
    },
    {
        /** 优惠券详情 */
        name: 'couponDetailServ',
        url: '/coupon/show',
        method: 'get'
    },
    {
        /** 优惠券删除 */
        name: 'couponDestroy',
        url: '/coupon/destroy',
        method: 'post'
    },
    {
        /** 优惠券编辑 */
        name: 'couponServEdit',
        url: '/coupon/edit',
        method: 'post',
        pem: true
    },
    {
        /** 优惠券状态变更 */
        name: 'couponExpireServ',
        url: '/coupon/expire',
        method: 'put'
    },
    {
        /** 获取优惠券分享链接 */
        name: 'couponShareServ',
        url: '/coupon/share',
        method: 'get'
    },
    {
        /** 优惠券启用 */
        name: 'couponEnable',
        url: '/coupon/enable',
        method: 'post'
    },
    {
        /** 优惠券数据概览 */
        name: 'couponData',
        url: '/coupon/data',
        method: 'get'
    },
    {
        /** 优惠券领取记录 */
        name: 'couponRecord',
        url: '/coupon/receive/record',
        method: 'get'
    },
    {
        /** 优惠券领取记录导出 */
        name: 'couponRecordExport',
        url: '/coupon/receive/export',
        method: 'get',
        responseType: 'arraybuffer'
    },
    {
        /** 使用记录使用 */
        name: 'couponUseRecord',
        url: '/coupon/use/record',
        method: 'get'
    },
    {
        /** 使用记录使用导出 */
        name: 'couponUseRecordExport',
        url: '/coupon/use/export',
        method: 'get',
        responseType: 'arraybuffer'
    },
    {
        /** 新建秒杀活动 */
        name: 'createSeckillServ',
        url: '/seckill/creat'
    },
    {
        /** 编辑秒杀活动 */
        name: 'editSeckillServ',
        url: '/seckill/update'
    },
    // {
    //     /** 秒杀活动列表 */
    //     name: 'seckillListServ',
    //     url: '/seckill/list',
    //     method: 'get'
    // },
    {
        /** 秒杀活动详情 */
        name: 'seckillDetailServ',
        url: '/seckill/info',
        method: 'get'
    },
    {
        /** 结束秒杀活动 */
        name: 'endSeckillServ',
        url: '/seckill/end',
        method: 'get'
    },
    {
        /** 删除秒杀活动 */
        name: 'deteleSeckillServ',
        url: '/seckill/del',
        method: 'get'
    },
    {
        /** 推广秒杀活动 */
        name: 'spreadSeckillServ',
        url: '/seckill/spread',
        method: 'post'
    },
    {
        /** 秒杀活动数据概览 */
        name: 'seckillBasicDataServ',
        url: '/seckill/basicData',
        method: 'get'
    },
    {
        /** 导出秒杀活动商品 */
        name: 'exportSeckillServ',
        url: '/seckill/export',
        responseType: 'arraybuffer',
        method: 'get'
    },
    {
        /** 秒杀活动记录 */
        name: 'seckillLogServ',
        url: '/seckill/record'
    },
    {
        /** 秒杀活动添加商品 */
        name: 'seckillGoodsServ',
        url: '/seckill/goods'
    },
    {
        /** 团类型列表 */
        name: 'spellGroupType',
        url: '/spellGroup/groupType',
        method: 'get'
    },
    {
        /** 拼团列表 */
        name: 'spellGroupList',
        url: '/spellGroup/list',
        method: 'get'
    },
    {
        /** 拼团详情 */
        name: 'spellGroupInfo',
        url: '/spellGroup/info',
        method: 'get'
    },
    {
        /** 拼团活动推广 */
        name: 'spellGroupSpread',
        url: '/spellGroup/spread',
        method: 'get'
    },
    {
        /** 拼团删除 */
        name: 'spellGroupDel',
        url: '/spellGroup/del',
        method: 'post'
    },
    {
        /** 拼团结束 */
        name: 'spellGroupEnd',
        url: '/spellGroup/end',
        method: 'post'
    },
    {
        /** 编辑拼团 */
        name: 'spellGroupEdit',
        url: '/spellGroup/edit',
        method: 'post'
    },
    {
        /** 统计-参与记录 */
        name: 'spellGroupStatisticOrderList',
        url: '/spellGroup/statisticOrderList',
        method: 'get'
    },
    {
        /** 统计-参与记录导出 */
        name: 'spellGroupStatisticOrderListExport',
        url: '/spellGroup/statisticOrderListExport',
        responseType: 'arraybuffer',
        method: 'get'
    },
    {
        /** 统计-活动基础信息 */
        name: 'spellGroupStatisticActivity',
        url: '/spellGroup/statisticActivity',
        method: 'get'
    },
    {
        /** 统计-数据概览 */
        name: 'spellGroupStatisticBasic',
        url: '/spellGroup/statisticBasic',
        method: 'get'
    },
    {
        /** 新建拼团 */
        name: 'spellGroupCreate',
        url: '/spellGroup/create',
        method: 'post'
    },
    {
        /** 选择商品 */
        name: 'spellGroupSelectGoodsList',
        url: '/spellGroup/selectGoodsList',
        method: 'get'
    },
    {
        /** 选择拼团活动列表 */
        name: 'spellGroupSelectGroupList',
        url: '/spellGroup/selectGroupList',
        method: 'get'
    },
    {
        /** 抽奖列表接口 */
        name: 'getActivityDrawList',
        url: '/activity/draw/getList',
        method: 'get',
        mock: false // todo:false
    },
    {
        /** 创建抽奖活动 */
        name: 'activityDrawCreate',
        url: '/activity/draw/creat',
        method: 'post',
        mock: false
    },
    {
        /** 推广二维码接口 */
        name: 'spreadActivityDraw',
        url: '/activity/draw/spread',
        method: 'post',
        mock: false
    },
    {
        /** 删除抽奖接口 */
        name: 'activityDrawDel',
        url: '/activity/draw/del',
        method: 'get',
        mock: false
    },
    {
        /** 抽奖详情接口 */
        name: 'activityDrawInfo',
        url: '/activity/draw/info',
        method: 'post',
        mock: false
    },
    {
        /** 修改抽奖活动接口 */
        name: 'activityDrawUpdate',
        url: '/activity/draw/update',
        method: 'post',
        mock: false
    },
    {
        /** 结束抽奖活动接口 */
        name: 'activityDrawEnd',
        url: '/activity/draw/end',
        method: 'get',
        mock: false
    },
    {
        /** 数据概览接口 */
        name: 'activityDrawBasicData',
        url: '/activity/draw/basicData',
        method: 'get',
        mock: false
    },
    {
        /** 抽奖概况列表接口 */
        name: 'activityDrawSurvey',
        url: '/activity/draw/survey',
        method: 'get',
        mock: false
    },
    {
        /** 抽奖记录接口 */
        name: 'activityDrawRecord',
        url: '/activity/draw/record',
        method: 'post',
        mock: false
    },
    {
        /** 确认收货接口 */
        name: 'activityDrawConfirm',
        url: '/activity/draw/confirm/pickup',
        method: 'get',
        mock: false
    },
    {
        /** 发货信息接口 */
        name: 'activityDrawDelivceryInfo',
        url: '/activity/draw/delivcery/info',
        method: 'get',
        mock: false
    },
    {
        /** 立即发货接口 */
        name: 'activityDrawDelivery',
        url: '/activity/draw/delivery',
        method: 'post',
        mock: false
    },
    {
        /** 数据概览导出接口 */
        name: 'exportActivityBasicData',
        url: '/activity/draw/basicData/export',
        responseType: 'arraybuffer',
        method: 'get',
        mock: false
    },
    {
        /** 抽奖记录导出接口 */
        name: 'exportActivityDrawRecord',
        url: '/activity/draw/record/export',
        responseType: 'arraybuffer',
        method: 'get',
        mock: false
    },
    {
        /** 创建满减活动 */
        name: 'fullreduceCreate',
        url: '/activity/fullreduce/creat',
        method: 'post',
        mock: false
    },
    {
        /** 满减活动列表 */
        name: 'fullreduceList',
        url: '/activity/fullreduce/list',
        method: 'get',
        mock: false
    },
    {
        /** 满减活动详情 */
        name: 'fullreduceInfo',
        url: '/activity/fullreduce/info',
        method: 'get',
        mock: false
    },
    {
        /** 统计-满减参与记录 */
        name: 'fullreduceRecord',
        url: '/activity/fullreduce/record',
        method: 'post',
        mock: false
    },
    {
        /** 统计-满减参与记录导出 */
        name: 'fullreduceExport',
        url: '/activity/fullreduce/export',
        method: 'get',
        responseType: 'arraybuffer',
        mock: false
    },
    {
        /** 统计-活动基础数据 */
        name: 'fullreduceBasicActivity',
        url: '/activity/fullreduce/basicActivity',
        method: 'get',
        mock: false
    },
    {
        /** 统计-数据概览 */
        name: 'fullreduceBasicData',
        url: '/activity/fullreduce/basicData',
        method: 'get',
        mock: false
    },
    {
        /** 编辑满减活动 */
        name: 'fullreduceUpdate',
        url: '/activity/fullreduce/update',
        method: 'post',
        mock: false
    },
    {
        /** 满减活动推广*/
        name: 'fullreduceSpread',
        url: '/activity/fullreduce/spread',
        method: 'get',
        mock: false
    },
    {
        /** 满减活动删除*/
        name: 'fullreduceDel',
        url: '/activity/fullreduce/del',
        method: 'post',
        mock: false
    },
    {
        /** 满减活动结束 */
        name: 'fullreduceEnd',
        url: '/activity/fullreduce/end',
        method: 'post',
        mock: false
    },
    {
        /** 冲突列表 */
        name: 'fullreduceConflictList',
        url: '/activity/fullreduce/conflict-list',
        method: 'post',
        mock: false
    }
];
